POV-Ray : Newsgroups : povray.general : Bad operands : Re: Bad operands Server Time
29 Jul 2024 22:29:54 EDT (-0400)
  Re: Bad operands  
From: clipka
Date: 21 May 2010 09:07:49
Message: <4bf685a5$1@news.povray.org>
Am 21.05.2010 13:11, schrieb Thomas de Groot:

>> You should check all invocations of GammaColor in your scene file then.
>> You're likely calling it with a 3 component vector but without rgb.
>
> Yes... that must be it because in a test scene this is exactly what makes
> the error appear... Thanks! Good hint!

Unless you really badly need the gamma-correction macro for a current 
project, you may want to wait for the next beta anyway, which will 
probably make you want to ditch your macros anyway.

I mean, who'll want to use macros when you can just write

   pigment { color rgb <0.2,0.4,0.7> gamma 2.2 }

;-)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.